how to use fmt command in terra